package com.example.designpatterns.behavioral.command;

import org.springframework.stereotype.Component;

/**
 * @author zuitu@foxmail.com
 * @date 2024/1/17
 * receiver
 */
@Component
public class Blub {
    public void turnOn() {
        System.out.println("Blub has been lit");
    }

    public void turnOff() {
        System.out.println("Darkness");
    }
}
